import request from '@/utils/request'

// 查询岗位列表
export function listFitnessPurpose(data) {
  return request({
    url: '/plan/getFitnessPurpose',
    method: 'get',
    params: data

  })
}
export function queryFitnessPurpose(data) {
  return request({
    url: '/plan/queryFitnessPurpose',
    method: 'get',
    params: data
  })
}
export function addFitnessPurpose(data) {
    return request({
      url: '/plan/addFitnessPurpose',
      method: 'post',
      data: data
    })
  }
export function updateFitnessPurpose(data) {
    return request({
      url: '/plan/updateFitnessPurpose',
      method: 'put',
      data: data
    })
}
export function deleteFitnessPurpose(data) {
    return request({
      url: '/plan/deleteFitnessPurpose',
      method: 'delete',
      data: data
    })
}